using System;
using System.Text;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using LeadTracker.Models;

namespace LeadTracker.Models.MSTest
{
	
	public partial class LeadModelTests
	{


        
		[TestMethod]
        public void LeadModelTests_Property_Title_SelfAssign ()
		{
			var objectUnderTest = CreateObject();
			
			System.String defaultValue;
            try
            {
                defaultValue = objectUnderTest.Title;
            }
            catch (Exception ex)
            {
                Assert.Inconclusive("Could not complete test. Error reading property." + Environment.NewLine + ex.ToString());
                return;
            }
            
			objectUnderTest.Title = defaultValue;
			Assert.AreEqual(defaultValue, objectUnderTest.Title);;

		}    
        
        
		[TestMethod]
        public void LeadModelTests_Property_OwnerKey_SelfAssign ()
		{
			var objectUnderTest = CreateObject();
			
			System.Nullable<System.Int32> defaultValue;
            try
            {
                defaultValue = objectUnderTest.OwnerKey;
            }
            catch (Exception ex)
            {
                Assert.Inconclusive("Could not complete test. Error reading property." + Environment.NewLine + ex.ToString());
                return;
            }
            
			objectUnderTest.OwnerKey = defaultValue;
			Assert.AreEqual(defaultValue, objectUnderTest.OwnerKey);;

		}    
        
        
		[TestMethod]
        public void LeadModelTests_Property_LeadTypeKey_SelfAssign ()
		{
			var objectUnderTest = CreateObject();
			
			LeadTracker.Models.LeadType defaultValue;
            try
            {
                defaultValue = objectUnderTest.LeadTypeKey;
            }
            catch (Exception ex)
            {
                Assert.Inconclusive("Could not complete test. Error reading property." + Environment.NewLine + ex.ToString());
                return;
            }
            
			objectUnderTest.LeadTypeKey = defaultValue;
			Assert.AreEqual(defaultValue, objectUnderTest.LeadTypeKey);;

		}    
        
        
		[TestMethod]
        public void LeadModelTests_Property_LeadStatusKey_SelfAssign ()
		{
			var objectUnderTest = CreateObject();
			
			LeadTracker.Models.LeadStatus defaultValue;
            try
            {
                defaultValue = objectUnderTest.LeadStatusKey;
            }
            catch (Exception ex)
            {
                Assert.Inconclusive("Could not complete test. Error reading property." + Environment.NewLine + ex.ToString());
                return;
            }
            
			objectUnderTest.LeadStatusKey = defaultValue;
			Assert.AreEqual(defaultValue, objectUnderTest.LeadStatusKey);;

		}    
        
	}
}

